//
//  LTBaseViewController.swift
//  SwiftTest
//
//  Created by xxh on 2022/6/10.
//

import UIKit

class LTBaseViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
            
        view.backgroundColor = .white
    }
    
    /// 登录方法
    func login() {
        print("登录方法")
        
        let loginVC = LTLoginViewController.init()
        loginVC.modalPresentationStyle = .fullScreen
        present(loginVC, animated: true)
    }
    
    /// 退出登录方法
    func logout() {
        print("退出方法")
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
